package com.whisperarts.financer.app;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import com.whisperarts.financer.app.views.CategoryView;
import com.whisperarts.financer.app.views.NavigatorView;

public class Perspective implements IPerspectiveFactory {

	@Override
	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(true);
		layout.addStandaloneView(NavigatorView.ID, false, IPageLayout.LEFT, 0.25f, layout.getEditorArea());
		layout.addView(CategoryView.ID, IPageLayout.RIGHT, 0.7f, layout.getEditorArea());
	}
}
